package com.superbytecode.cloud.rocketmq.producer;

import com.superbytecode.cloud.common.model.mq.MQConfigure;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: beacon-cloud
 * @Package: com.superbytecode.cloud.rocketmq.producer
 * @ClassName: MQProduceStrategy
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/11/1 15:31
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface MQProduceProvider {

    /**
     * mq生产者
     *
     * @param topic     消息主题
     * @param configure 消息参数配置
     * @param body      消息内容
     */
    void producer(String topic, MQConfigure configure, Object body);
}